home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
printing
/
vbgprt
/
abortfor.frm
next >
Wrap
Text File
|
1994-06-03
|
2KB
|
72 lines
VERSION 2.00
Begin Form AbortForm
BackColor = &H8000000F&
Caption = "Printing"
ClientHeight = 1425
ClientLeft = 2145
ClientTop = 4215
ClientWidth = 3765
ControlBox = 0 'False
Height = 1830
Left = 2085
LinkMode = 1 'Source
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1425
ScaleWidth = 3765
Top = 3870
Visible = 0 'False
Width = 3885
Begin CommandButton CmdAbort
Caption = "Press to Abort Print Job"
Height = 372
Left = 600
TabIndex = 0
Top = 840
Width = 2532
End
Begin Label Label1
BackColor = &H8000000F&
Caption = "Label1"
Height = 492
Left = 240
TabIndex = 1
Top = 120
Width = 3372
End
End
'----------------------------------------------------------------
'Copyright 1994 Unger Business Systems All Rights Reserved
'This code is distributed as shareware. If you use it, you
'are required by law to register it. Please contact Unger
'Business Systems at 11926 Barrett Brae, Houston, TX 77072-4004
'or call (713) 498-8517. Registration fee is $20.00 US
'See the README.TXT file for more information
'
'All code, forms, modules, controls, etc. are provided without
'warranty or liability
'----------------------------------------------------------------
Option Explicit
Sub CmdAbort_Click ()
AbortPrinting = True
cmdAbort.Caption = "ABORT - Please wait..."
AbortForm.Refresh
DoEvents
Screen.MousePointer = 11
End Sub
Sub Form_Load ()
Dim TLeft%, TTop%
'position form in center of screen
TLeft = (Screen.Width - Width) / 2
TTop = (Screen.Height - Height) / 2
Move TLeft, TTop
cmdAbort.Caption = "Press to Abort Print Job"
End Sub